<todo-lists type="array">
	<?php foreach($ids as $id):?>
	<todo-list><id><?php echo $id;?></id></todo-list>
	<?php endforeach;?>
</todo-lists>